removing now unnecessary global registration, which causes a notice on every page
authorTim Starling <tstarling@users.mediawiki.org>
Sat, 3 Apr 2004 01:22:04 +0000 (01:22 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Sat, 3 Apr 2004 01:22:04 +0000 (01:22 +0000)
includes/WebRequest.php

index 2641058..bcec3c0 100644 (file)
@@ -62,12 +62,15 @@ class WebRequest {
                        if( defined( "DEBUG_GLOBALS" ) ) {
                                die( "DEBUG_GLOBALS: Turn register_globals off!" );
                        }
-               } else {
+               }
+               /*
+               else {
                        if( !defined( "DEBUG_GLOBALS" ) ) {
                                # Insecure, but at least it'll run
                                import_request_variables( "GPC" );
                        }
                }
+               */
        }
        
        function getGPCVal( &$arr, $name, $default ) {